<template>
    <div class="wxuexi">
    <h2>我的学习</h2>
     <p>登录才可以查看我的学习哦~</p>
     <img src="./../../assets/ypt/img/8.jpg" alt="">
     <button @click="login">立即登录</button>
     

    </div>
</template>

<script>
export default {
    name:"Wxuexi",
    data(){
        return{}
    },
    methods:{
        login(){
            this.$router.push('/login')
        }
    }
}
</script>


<style>
.wxuexi{
    width: 80%;
    margin: auto;
    /* background-color: aqua; */
    height: 100%;
    display: flex;
    flex-direction: column;
}
.wxuexi h2{
     margin:.3rem auto;
}
.wxuexi p{
    text-align: center;
    padding-top: .3rem;
    color: #a3a3a3;
}
.wxuexi button{
    width: 1.5rem;
    height: .6rem;
    margin:.5rem auto;
    text-align: center;
    line-height: .6rem;
    font-size: .2rem;
    font-weight: 600;
    border-radius: .2rem;
    background-color: white;
    border: 1px solid #a3a3a3;
}
</style>